from django.db import models

from user.models import User


class IntrusionData(models.Model):
    uid = models.ForeignKey(User, on_delete=models.CASCADE, default='', null=False)
    count = models.IntegerField("次数", null=True)
    intrusion_time = models.CharField("时间", max_length=30, null=True)
    path = models.CharField("路径", max_length=100, null=True)

